package cn.edu.sgu.www.mhxysy.config.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 发送邮箱的设置
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@Component
@ConfigurationProperties("email")
public class EmailProperties {

    /**
     * 是否开启邮件功能
     */
    private boolean enable;

    /**
     * 邮件的发送方
     */
    private String from;

    /**
     * 邮件的接收方
     */
    private String to;
}